module.exports = {
    jwt: {
        secret: process.env.JWT_SECRET || 'your-secret-key-here',
        expiresIn: '1h'
    },
    port: process.env.PORT || 3000,
    baseUploadDir: './storage/uploads',
    // 新增数据库配置
    db: {
        host: process.env.DB_HOST || 'localhost',
        user: process.env.DB_USER || 'root',
        password: process.env.DB_PASSWORD || 'root',
        database: process.env.DB_NAME || 'exp_system'
    }
};